package com.firebird.app.fekpsl.mvp.classroom

import com.firebird.app.fekpsl.base.BaseModel
import com.firebird.app.fekpsl.bean.HttpResult
import com.firebird.app.fekpsl.http.RetrofitHelper
import com.firebird.app.fekpsl.bean.BaseListResponseBody
import com.firebird.app.fekpsl.bean.Paper
import io.reactivex.Observable

/**
 * Created by firebird on 2018/4/21.
 */
class QuestionPracticeModel : BaseModel(), QuestionPracticeContract.Model {

    override fun getAllPaperList(pageNo: Int): Observable<HttpResult<BaseListResponseBody<Paper>>> {
        return RetrofitHelper.examService.getAllPaperList(pageNo)
    }
}